@width: 100%;

.display {
  display: inline-block;
  vertical-align: top;
}

.box {
  box-sizing: border-box;
}

.ly-content {

  .ly-list {
    padding: 40px 150px;
    .box;
    h1 {
      font-weight: 700;
      font-size: 18px;
      line-height: 30px;
      margin-top: 20px;
    }
    li {
      width: @width;
      line-height: 50px;
      padding: 5px 0;
      .box;
      .ly-input {
        width: 300px;
        height: 40px;
        border: none;
        font-size: 14px;
        border-bottom: 1px solid #ccc;
      }
      .ly-code {
        font-size: 14px;
        margin-left: 20px;
        color: #333;
        cursor: pointer;
      }
      .ly-submit {
        width: 300px;
        height: 35px;
        line-height: 35px;
        background: #000;
        color: #fff;
        cursor: pointer;
        text-align: center;
        font-size: 16px;
        margin: 60px 0;
        display: block;
      }
      .ly-select {
        width: 300px;
        height: 40px;
        border: none;
        font-size: 14px;
        border-bottom: 1px solid #ccc;
      }
      h2 {
        font-size: 14px;
      }
    }
    p {
      line-height: 20px;
      margin-bottom: 30px;
    }
  }
}

@media screen  and (max-width: 980px) {
  .ly-content {
    .ly-list {
      width: @width;
      padding: 40px 150px;
      h4 {
        padding: 10px;
      }
    }
    .ly-list {
      li {
        padding: 5px;
      }
    }
  }

  .ly-intro {
    position: static;
    margin: 0 auto 30px;
  }
}

@media screen  and (max-width: 760px) {
  .ly-content {
    .ly-list {
      width: @width;
      padding: 40px 0;
      h4 {
        padding: 10px;
      }
    }
    .ly-list {
      li {
        padding: 5px;
        .ly-input{
          width: @width;
        }
        .ly-submit{
          width: @width;
        }
      }
    }
  }

  .ly-intro {
    position: static;
    margin: 0 auto 30px;
  }
}